home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
PASSWORD.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
2KB
|
47 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Password(nRow,nCol,cPrompt,nStrLen,nMinLen,cColor,lUpper,lShow) --> cString
PARAMETERS:
nRow : Row & Col Coordinates at which the password border box
nCol : is drawn.
cPrompt : Prompt for Password
nStrLen : Maximum / cutoff length for password
nMinLen : Minimum Length of Password
cColor : Color string to use for password (must be a visible color)
lUpper : Logical - Forces password to upper case if .T.
lShow : Logical - echo actual password instead of default "******"
SHORT:
Provides a coloured, boxed, prompted, hidden or masked password entry field
DESCRIPTION:
_Password() draws a box whose top-left corner is at nRow, nCol. Inside
this box a prompt is displayed and below that a password is accepted
and returned as the functions return value.
NOTE:
EXAMPLE:
Pass1 = _Password(5,10,'Enter Password',10,5,'b+/w')
A password is accepted that must be at least 5 characters in length but
less than 10 characters. The password box will be drawn in w+/b.
Pass1 = _Password(5,10,'Enter Password',10,5,'b+/w',TRUE,TRUE)
Same thing as last example, but this time the password will be forced to
UPPER CASE and will be shown as it is typed.
******************************************************************************/